// services/course.js
import api from './api';

export const getCourses = (params) => api.get('/courses', { params });
export const enrollCourse = (courseId) => api.post('/enroll', { courseId });